package com.youlai.system.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Schema(description = "故障表单对象")
@Data
public class CourseForm {
    @Schema(description="故障ID")
    private Long id;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description="故障内容")
    @NotBlank(message = "故障内容不能为空")
    private String content;
    @Schema(description = "考核周期")
    private Integer month;

    @Schema(description="排序")
    private Integer sort;
}
